home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
clue.lha
/
clue
/
doc
/
clue.tex
/
node115_mn.html
< prev
next >
Wrap
Text File
|
1989-07-12
|
2KB
|
60 lines
<H3><A ID="SECTION003411100000000000000"><tex2html_anchor_invisible_mark></A> <A ID="ch:events"><tex2html_anchor_mark></A><BR>
Events
</H3><#4991#>
Input from an X server<A ID="1307"><tex2html_anchor_invisible_mark></A> arrives
asynchronously in the form of <#1308#><B>input events</B><#1308#><A ID="1309"><tex2html_anchor_invisible_mark></A>.
The basic set of input events and their contents are defined by the X Window
System protocol<A ID="1310"><tex2html_anchor_invisible_mark></A>.
<P>
CLUE uses the <#1311#><TT>event</TT><#1311#> class to represent an input event as an
object. The <#1312#><TT>event</TT><#1312#> data structure has a slot for each value that appears in
any X input event (i.e. each
keyword declared by a <#1313#><TT>xlib:declare-event</TT><#1313#> form in CLX).
For any actual input event, only a subset of the slots of the
corresponding <#1314#><TT>event</TT><#1314#> object will be meaningful; the irrelevant slots
always have a <#1315#><TT>nil</TT><#1315#> value.
<P>
<#4656#>
<#4273#><FONT SIZE="+1"><#1316#><B>event Class</B><#1316#></FONT><#4273#>
<A ID="1317"><tex2html_anchor_invisible_mark></A>
<A ID="1318"><tex2html_anchor_invisible_mark></A>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline9920#
</DIV><#4656#>
<P>
The names and meanings of most <#1325#><TT>event</TT><#1325#> slots are described by CLX[#clx#<tex2html_cite_mark>#1##<tex2html_cite_mark>#]
and are not discussed in detail here. However, CLUE extends the basic event
representation to include the following additional <#1327#><TT>event</TT><#1327#> slots.
<P>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline9923#
</DIV>
<P>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline9924#
</DIV>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline9925#
</DIV>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline9926#
</DIV>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline9927#
</DIV>
<DIV class="RIGHT">
<tex2html_image_mark>#tex2html_wrap_inline9928#
</DIV>
<P>
=0 <#5001#>=0 <#5005#>